package test_new;

import org.junit.*;


public class BubbleSortRecursionTest {
	@Test
	public void test_BubbleSortRecursion() {
		int[] array = {4, 6, 7, 1, 9, 2, 5, 3, 8};
		BubbleSortRecursion matrix = new BubbleSortRecursion(array);
		matrix.makeBubbleSort(array);
		Assert.assertArrayEquals(new int[]{1, 2, 3, 4, 5, 6, 7, 8, 9}, matrix.getArray());
	}

}